package pkg

import (
	"gitee.com/xinshortlink/internal/pkg/conf"
	"gitee.com/xinshortlink/internal/pkg/idgenerater"
	"gitee.com/xinshortlink/internal/pkg/logger"
	"gitee.com/xinshortlink/internal/pkg/mq"
	"gitee.com/xinshortlink/internal/pkg/mq/rabbit"
	"gitee.com/xinshortlink/internal/pkg/token"
	"github.com/google/wire"
)

var Set = wire.NewSet(conf.NewViper, conf.NewConf, logger.NewLog, idgenerater.NewIdGenerate,
	token.NewToken, token.NewLoginAccountUtil, rabbit.NewRabbit, wire.Bind(new(mq.MQ), new(*rabbit.Rabbit)))
